package com.cooge.collection.pojo;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * EpisodeVideo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "episode_video", catalog = "sharevideo")
public class EpisodeVideo implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -7184074040209418385L;
	private Long id;
	private Long episodeId;
	private Long videoId;
	private String videoNo;

	// Constructors

	/** default constructor */
	public EpisodeVideo() {
	}

	/** full constructor */
	public EpisodeVideo(Long episodeId, Long videoId, String videoNo) {
		this.episodeId = episodeId;
		this.videoId = videoId;
		this.videoNo = videoNo;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "episode_id")
	public Long getEpisodeId() {
		return this.episodeId;
	}

	public void setEpisodeId(Long episodeId) {
		this.episodeId = episodeId;
	}

	@Column(name = "video_id")
	public Long getVideoId() {
		return this.videoId;
	}

	public void setVideoId(Long videoId) {
		this.videoId = videoId;
	}

	@Column(name = "videoNO")
	public String getVideoNo() {
		return this.videoNo;
	}

	public void setVideoNo(String videoNo) {
		this.videoNo = videoNo;
	}

}